#define  _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int n = 0;
	scanf("%d", &n);
	int sum = 0;
	while (n)
	{
		sum += n;
		n--;
	}
	printf("%d", sum);
	return 0;
}